home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 25
/
PC Gamer IT CD 25.iso
/
ZGI_DEMO
/
DATA
/
SCRIPTS.ZFS
/
uw1k.scr
< prev
Wrap
Text File
|
1997-09-04
|
3KB
|
128 lines
# Node uw1k generated on Thu Sep 04 16:19:00 1997
world u
room w
nodeview 1k
puzzle:01815 { # uw1k_no_prefs
criteria {
}
results {
action:menu_bar_enable(781)
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01816 { # uw1k_dm_speaks_1
criteria {
[01024] ! 1 # voice_over
}
results {
action:kill(01024) # voice_over
action:assign(01582, 4) # person_talking
action:universe_music:01024(0 uw1hh61p.raw 0 100) # voice_over
}
}
puzzle:01644 { # uw1k_dm_speaks_2
criteria {
[01024] ! 1 # voice_over
[01817] = 1 # uw1k_grab_coin
}
results {
action:kill(01024) # voice_over
action:assign(01582, 4) # person_talking
action:universe_music:01024(0 uw1hh60p.raw 0 100) # voice_over
}
}
puzzle:01818 { # uw1k_screenset
criteria {
}
results {
action:set_screen(uw1kf011.tga)
action:delay_render(1)
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01819 { # uw1k_screenset_coin_there
criteria {
[01817] = 0 # uw1k_grab_coin
}
results {
action:set_partial_screen(244 144 uw1kv021.tga 0 -1)
}
flags {
once_per_inst
do_me_now
}
}
puzzle:01817 { # uw1k_grab_coin
criteria {
[01820] = 1 # uw1k_coin_hotspot
}
results {
action:disable_control(01820) # uw1k_coin_hotspot
action:assign(01816, 1) # uw1k_dm_speaks_1
action:assign(01746, 1) # uw_user_has_subway_token
action:assign(01820, 0) # uw1k_coin_hotspot
action:assign(01643, 1) # uc1g_dm_speaks_2
action:inventory(add 20)
action:music:01821(0 g100h49q.raw 0 100) # uw1k_grab_coin_audio
action:set_partial_screen(244 144 uw1kv011.tga 0 -1)
}
}
puzzle:01822 { # uw1k_move_uw1k_uw10
criteria {
[01823] = 1 # uw1k_backup
[01817] = 0 # uw1k_grab_coin
}
results {
action:assign(01823, 0) # uw1k_backup
action:dissolve()
action:change_location(u, w, 10, 1698)
}
flags {
once_per_inst
}
}
puzzle:01824 { # uw1k_move_uw1k_uw10_grabbed
criteria {
[01823] = 1 # uw1k_backup
[01817] = 1 # uw1k_grab_coin
}
results {
action:assign(01643, 1) # uc1g_dm_speaks_2
action:assign(01644, 1) # uw1k_dm_speaks_2
action:assign(01823, 0) # uw1k_backup
action:dissolve()
action:change_location(u, w, 10, 1698)
}
flags {
once_per_inst
}
}
control:01823 push_toggle { # uw1k_backup
flat_hotspot(0, 279, 639, 64)
cursor(backward)
}
control:01820 push_toggle { # uw1k_coin_hotspot
flat_hotspot(244, 144, 63, 63)
cursor(handpu)
}
control:01825 flat { # uw1k_flat
}